﻿/****************************************************************
 * Copyright (c) 2010-2013 Besture All Rights Reserved.
 * 
 * File Name:		BaseModel 
 * 
 * Created:		2013-9-3 11:06:45
 * Original Author:	nitao 
 * 
 * ------------------------------------------------------------
 * MODIFICATION HISTORY
 * ------------------------------------------------------------
 * When			Who		Why
 * ------------------------------------------------------------
 * 
 *
 ****************************************************************/

using System;

namespace Besture.Model
{
    public class BaseModel
    {
        public BaseModel()
        {
            if (CreateTime == null)
            {
                CreateTime = DateTime.Now; 
            }
            if(UpdateTime == null)
            {
                UpdateTime = DateTime.Now;
            }
        }
        /// <summary>
        /// 编号
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 排序编号
        /// </summary>
        public int SortID { get; set; }
        /// <summary>
        /// 预留字段1-5
        /// </summary>
        public string ExtColumn1 { get; set; }
        public string ExtColumn2 { get; set; }
        public string ExtColumn3 { get; set; }
        public string ExtColumn4 { get; set; }
        public string ExtColumn5 { get; set; }
        /// <summary>
        /// 预留字段6-10
        /// </summary>
        public int ExtColumn6 { get; set; }
        public int ExtColumn7 { get; set; }
        public int ExtColumn8 { get; set; }
        public int ExtColumn9 { get; set; }
        public int ExtColumn10 { get; set; }
        /// <summary>
        /// SEO标题
        /// </summary>
        public string SeoTitle { get; set; }
        /// <summary>
        /// SEO关键字
        /// </summary>
        public string SeoKeywords { get; set; }
        /// <summary>
        /// SEO描述
        /// </summary>
        public string SeoDescription { get; set; }


        /// <summary>
        /// 创建者
        /// </summary>
        public int CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 更新者
        /// </summary>
        public int UpdateBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// RoomFacilitiesCode
        /// </summary>
        public string RoomFacilitiesCode { get; set; }
    }
}
